<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>
			Samhan
			<?php
			$mode = ucfirst(Yii::app()->params['mode']);
			if ($mode != 'Production') {
				echo "&laquo;{$mode}&raquo;";
			}
			?>
		</title>
		<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
		<meta content="index, follow" name="robots" />
		<meta content="samhan, radio" name="keywords" />
		<meta content="Samhan" name="description" />
		<meta content="samhan" name="generator" />

		<?php
		//Yii::app()->clientScript->registerCoreScript('jquery');
		$requestBaseUrl = Yii::app()->request->baseUrl;
		$themeBaseUrl = Yii::app()->theme->baseUrl;
		$cs = Yii::app()->clientScript;

		$path = $themeBaseUrl . '/css/screen.1.css';
		$cs->registerCssFile($path, 'screen, projection');
		$path = $themeBaseUrl . '/css/print.1.css';
		$cs->registerCssFile($path, 'print');
		$path = $themeBaseUrl . '/css/main.1.css';
		$cs->registerCssFile($path, 'screen');
		$path = $themeBaseUrl . '/css/form.1.css';
		$cs->registerCssFile($path, 'screen');
		$path = $themeBaseUrl . '/css/template.1.css';
		$cs->registerCssFile($path, 'screen');
		$path = $themeBaseUrl . '/css/blue.1.css';
		$cs->registerCssFile($path, 'screen');
		$path = $themeBaseUrl . '/images/samhan.ico';
		$cs->registerLinkTag("shortcut icon", "image/x-icon", $path);
		?>
	</head>

	<body id="page_bg">
		<a id="up" name="up"></a>
		<div class="main_bg_center" id="main_bg">
			<div id="middle_bg">
				<div id="user3">
					<div id="pillmenu_left"></div>
					<div id="pillmenu">
						<?php
						$this->widget(
							'zii.widgets.CMenu', array('items'=>Yii::app()->menu)
						);
						?>
					</div>
					<div id="pillmenu_right"></div>
					<div id="date">
						<?php echo Yii::app()->dateFormatter->formatDateTime(time(),
							'full', null); ?>
					</div>
					<br clear="all" />
				</div>

				<div class="banner2" id="banner_bg">
					<?php if (Yii::app()->params['mode'] == 'production'): ?>
						<div class="contentpaneopen">
							<!-- BEGINS: AUTO-GENERATED Museter unlimited SHOUTcast Hosting Museter.com plans start at $6.95 CODE visit http://www.museter.com -->
							<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="160" height="100" bgcolor="#000000">
								<param name="movie" value="http://www.museter.com/ffmp3-config.swf" />
								<param name="flashvars" value="url=http://radiosamhan.com:8000/stream/1/&lang=en&codec=mp3&volume=100&traking=true&jsevents=false&buffering=5&skin=http://www.museter.com/skins/scradio/ffmp3-scradio.xml&title=Radio%20Samhan&welcome=Loading..." />
								<param name="wmode" value="window" />
								<param name="allowscriptaccess" value="always" />
								<param name="scale" value="noscale" />
								<embed src="http://www.museter.com/ffmp3-config.swf" flashvars="url=http://radiosamhan.com:8000/stream/1/&lang=en&codec=mp3&volume=100&traking=true&jsevents=false&buffering=5&skin=http://www.museter.com/skins/scradio/ffmp3-scradio.xml&title=Radio%20Samhan&welcome=Loading..." width="160" scale="noscale" height="100" wmode="window" bgcolor="#000000" allowscriptaccess="always" type="application/x-shockwave-flash" />
							</object>
							<!-- ENDS: AUTO-GENERATED Museter unlimited SHOUTcast Hosting Museter.com plans start at $6.95 CODE visit http://www.museter.com-->
						</div>
					<?php endif; ?>
					<br clear="all" />
				</div>

				<div id="sub_banner">
				</div>

				<div id="maincolumn">
					<?php if (isset($this->breadcrumbs)): ?>
						<?php
						$this->widget('zii.widgets.CBreadcrumbs',
							array(
							'links'=>$this->breadcrumbs,
						));
						?><!-- breadcrumbs -->
					<?php endif ?>

					<div class="nopad">
						<!-- start content -->
						<?php echo $content; ?>
						<!-- end content -->
					</div>
				</div>

				<div id="leftcolumn">
					<?php
					$this->beginWidget(
						'zii.widgets.CPortlet', array('title'=>'Operations')
					);
					$this->widget(
						'zii.widgets.CMenu',
						array(
						'items'=>$this->menu,
						'htmlOptions'=>array('class'=>'menu'),
						)
					);
					$this->endWidget();

					$this->beginWidget(
						'zii.widgets.CPortlet', array('title'=>'Kesaksian')
					);
					$this->widget(
						'zii.widgets.CMenu',
						array(
						'htmlOptions'=>array('class'=>'menu'),
						'items'=>Testimony::latestMenuItems(),
					));
					$this->endWidget();
					?>

				</div>

				<div id="rightcolumn">

					<div class="moduletable_menu">
						<h3>Sponsor</h3>
						<div class="image">
							<?php echo CHtml::link('<img src="images/pdo.jpg">',
								array('/site/page', 'view'=>'pdo')) ?>
						</div>
					</div>

					<?php
					$properties = array('title'=>'Setting');
					$this->beginWidget('zii.widgets.CPortlet', $properties);
					$this->widget("SettingWidget");
					$this->endWidget();
					?>
				</div>
				<br clear="all" />
			</div>

		</div>

		<br clear="all" />

		<p align="center" id="power_by">
			Powered by
			<a title="The Fast, Secure and Professional PHP Framework"
			   href="http://www.yiiframework.com" target="_blank"
			   >YiiFramework</a>
			|
			Designed by
			<a title="Free Web Templates" target="_blank"
			   href="http://www.themza.com"
			   >ThemZa</a>
			|
			Player by
			<a title="Free Web Templates" target="_blank"
			   href="http://www.museter.com"
			   >Museter</a>
		</p>

	</body>
</html>